
function TeaPopupAssistant(argFromPusher) {
    this.passedArgument = argFromPusher;
 }
    

TeaPopupAssistant.prototype.setup = function() {
    this.controller.get('info').update(this.passedArgument.message)
    
    deleteCookieValue('Running');
    
    //set up button handlers
    Mojo.Event.listen(this.controller.get('quit-button'),Mojo.Event.tap, this.handleQuitButton)
}
    
TeaPopupAssistant.prototype.handleQuitButton = function(){
    Mojo.Controller.appController.closeStage('com.fuzzymole.teaminder.popup');
}
